package com.pearl.mybatis.demo.flex;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

// Auto generate by mybatis-flex, do not modify it.
public class Tables {


    public static final UserTableDef USER = new UserTableDef("user");

    public static class UserTableDef extends TableDef {

        public QueryColumn USER_ID = new QueryColumn(this, "user_id");
        public QueryColumn USER_NAME = new QueryColumn(this, "user_name");
        public QueryColumn PASSWORD = new QueryColumn(this, "password");
        public QueryColumn LOGIN_NAME = new QueryColumn(this, "login_name");
        public QueryColumn GENDER = new QueryColumn(this, "gender");
        public QueryColumn PHONE = new QueryColumn(this, "phone");
        public QueryColumn ADDRESS = new QueryColumn(this, "address");
        public QueryColumn ORGANIZATION_ID = new QueryColumn(this, "organization_id");
        public QueryColumn STATE = new QueryColumn(this, "state");
        public QueryColumn EMAIL = new QueryColumn(this, "email");
        public QueryColumn REMARK = new QueryColumn(this, "remark");

        public QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{USER_ID, USER_NAME, PASSWORD, LOGIN_NAME, GENDER, PHONE, ADDRESS, ORGANIZATION_ID, STATE, EMAIL, REMARK};
        public QueryColumn[] ALL_COLUMNS = new QueryColumn[]{USER_ID, USER_NAME, PASSWORD, LOGIN_NAME, GENDER, PHONE, ADDRESS, ORGANIZATION_ID, STATE, EMAIL, REMARK};


        public UserTableDef(String tableName) {
            super(tableName);
        }
    }
}
